from sqlalchemy.ext.asyncio import AsyncSession
from fastapi_async_sqlalchemy import db


class BaseService(object):
    def __init__(self, db_session: AsyncSession = None):
        self.db_session = db_session or db.session

